home *** CD-ROM | disk | FTP | other *** search
- userdict begin /supdict 65 dict def end
- supdict begin
- /str1 512 string def
- /dx 500 def
- /dy 700 def
- /cnt 0 def
- /newinside {
-
-
- {flattenpath}fp clipper
- pathbbox
- 1 index 4 index sub round cvi /dx xdf
- 0 index 3 index sub round cvi /dy xdf
- pop pop translate
- 222 srand
- newpath
- } bind def
- /randint {
- rand exch mod } def
- /rand8 { rand -16 bitshift 255 and} def
- /rand2
- { rand -16 bitshift 3 and } def
- /brandxy {
- dx randint dy randint } def
- /x1
- { angle cos abs dx mul } def
- /x2
- { 90 angle sub cos abs dy mul } def
- /y1
- { angle sin abs dx mul } def
- /y2
- { 90 angle sub sin abs dy mul } def
- /backgnd
- { xstart ystart m
- xstart ystart abs L
- xstart abs ystart abs L
- xstart abs ystart L
- closepath fill } def
- /incrcnt
- { /cnt cnt 1 add def } def
- /colorchoice
- {
- /found false def
- gray?
- {/CCblack [0 0 0 0] def
- color 1 exch sub
- CCblack 3 3 -1 roll put
- CCblack vc}
- {color length 2 eq
- {color 1 get type (text) type eq
- {0 1 spots length 1 sub
- {/cnt xdf
- spots cnt get 4 get color 1 get eq
- {/found true def exit} if
- } for
- found {color 1 cnt put} {color 1 3 put} ifelse
- } if
- color vc
- } if
- color length 4 eq {color vc} if
- } ifelse
- } def
- /gray?
- { color type 0 type eq color type .0 type eq or } def
- end